﻿using SocketMessaging;
using System.Collections.Concurrent;
using Tool;

namespace TcpServer.SocketCommandImpl
{
    abstract class AbstractSocketCommand
    {
        protected readonly ConcurrentDictionary<int, Connection> connectionMap;

        protected ConcurrentDictionary<int, Packet> dic;

        public AbstractSocketCommand(ConcurrentDictionary<int, Connection> connectionMap, ConcurrentDictionary<int, Packet> dic)
        {
            this.connectionMap = connectionMap;

            this.dic = dic;
        }
    }
}
